package com.ruoyi.app.enume;

/*
@description:订单枚举
@ClassName OrderStatusEnum
@author Chen
@create 2023-05-13 17:16
@Version 1.0
*/
public enum OrderStatusEnum
{
    CREATE_NEW(0,"待付款"),
    CANCEL(1,"已取消"),
    PAYED(2,"已付款");
    private final Integer code;
    private final String msg;
    OrderStatusEnum(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }
    public Integer getCode() {
        return code;
    }
    public String getMsg() {
        return msg;
    }
}
